﻿using MediatR;
using SmartProduction.Domain.采购委外订单;
using SmartProduction.ErrorCode;

namespace SmartProduction.Read.API.Application.Commands.SupplierCommand
{
    public class SupplierQueryCommand:IRequest<APIPaing<List<Supplier>>>
    {

        /// <summary>
        /// 订单编码
        /// </summary>
        public string? SupplierCode { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? SupplierName { get; set; }
        /// <summary>
        /// 供应商类型(公司/个人)
        /// </summary>
        public string? SupplierType { get; set; }

        /// <summary>
        /// 状态(有效/无效)
        /// </summary>
        public string? Status { get; set; }

        /// <summary>
        /// 所在城市
        /// </summary>
        public string? City { get; set; }

        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 10;
    }
}
